projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c329f5
)
quartz dnd: fix drag icon position relative to cursor position
author
Christoph Reiter
<reiter.christoph@gmail.com>
Fri, 24 Jul 2015 11:57:35 +0000
(13:57 +0200)
committer
Christoph Reiter
<creiter@src.gnome.org>
Mon, 27 Jul 2015 15:27:51 +0000
(17:27 +0200)
The y axis is reversed on osx
gtk/gtkdnd-quartz.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd-quartz.c
b/gtk/gtkdnd-quartz.c
index 30c0d06adefa0fe29c231678b5e13af79f777158..97841d0496e024d797d04a0f6148333353d37437 100644
(file)
--- a/
gtk/gtkdnd-quartz.c
+++ b/
gtk/gtkdnd-quartz.c
@@
-1170,7
+1170,7
@@
gtk_drag_begin_idle (gpointer arg)
}
point.x -= info->hot_x;
- point.y -= info->hot_y;
+ point.y -=
[drag_image size].height -
info->hot_y;
[nswindow dragImage:drag_image
at:point